package edu.spec.xhd.activitylifecycle;

import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;
import android.util.Log;

import edu.spec.xhd.R;

public class ActivityF extends AppCompatActivity {

    private static final String TAG = ActivityF.class.getSimpleName();

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_f);
        Log.e(TAG, "onCreate: ");
    }

    @Override
    protected void onStart() {
        super.onStart();
        Log.e(TAG, "onStart: ");
    }

    @Override
    protected void onResume(){
        super.onResume();
        Log.e(TAG, "onResume: ");
    }

    @Override
    protected void onPause(){
        super.onPause();
        Log.e(TAG, "onPause: ");    //1
    }

    @Override
    protected void onRestart(){
        super.onRestart();
        Log.e(TAG, "onRestart: ");
    }

    @Override
    protected void onStop() {
        super.onStop();
        Log.e(TAG, "onStop: ");     //2
    }

    @Override
    protected void onDestroy() {
        super.onDestroy();
        Log.e(TAG, "onDestroy: ");  //3
    }
}
